package com.itheima.homework.test5;

public abstract class IPhone extends Phone implements Bluetooth {
    private Song song;

    @Override
    public void btFunction() {
        System.out.println("支持蓝牙功能");
    }




    @Override
    public void playMusic(Song song) {
        this.song = song;
        System.out.println(name + "手机正在播放" + song.getSinger() +"唱的" + song.getName() );
    }

    public abstract void playMusic();
}

